package com.heima.dao;

import com.heima.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ITravellerDao {
    @Select("select * from traveller t ,order_traveller r_t where t.id=r_t.travellerid and r_t.orderid=#{id}")
    public List<Traveller> findById();
}
